import Vue from "vue";
import App from "./App.vue";
import router from "./router/router";
import { Switch } from "view-design";
import "view-design/dist/styles/iview.css";
import request from "./api/request";

Vue.component("i-switch", Switch);

Vue.config.productionTip = false;
Vue.prototype.$axios = request;

new Vue({
  router,
  render: h => h(App),
}).$mount("#app");
